package com.fms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fms.entity.SysDept;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SysDeptMapper extends BaseMapper<SysDept> {
    @Select("select * from sys_dept where id = #{deptId}")
    List<SysDept> getDeptById(Long deptId);
}
